package com.bs.alibabacontentconsumer.feign;

import com.bs.alibabacontentconsumer.pojo.Account;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @Author: Tvemic⁹
 * @DateTime: 2022/7/5 9:59
 * @Description: TODO
 */

@FeignClient(name = "alibaba-user-producer",path = "/account02")
public interface AccountOpenFeignClients {

    @RequestMapping(value="/send",method = RequestMethod.POST)
    Account sentAccount();

    @RequestMapping(value = "/edit",method = RequestMethod.POST)
    int updateAccountInfo(Account account);

}
